package cn.iocoder.yudao.module.system.controller.admin.price.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 实时价格配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class LivePriceConfRespVO {

    @Schema(description = "配置编号，自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "8558")
    private Long id;

    @Schema(description = "大盘增价", requiredMode = Schema.RequiredMode.REQUIRED, example = "15958")
    private BigDecimal increasePrice;

    @Schema(description = "大盘减价", requiredMode = Schema.RequiredMode.REQUIRED, example = "24147")
    private BigDecimal decreasePrice;

    @Schema(description = "波动价增", requiredMode = Schema.RequiredMode.REQUIRED, example = "15958")
    private BigDecimal waveIncreasePrice;

    @Schema(description = "波动价减", requiredMode = Schema.RequiredMode.REQUIRED, example = "24147")
    private BigDecimal waveDecreasePrice;
    private BigDecimal alarmPrice;

    @Schema(description = "原料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer metalType;

    @Schema(description = "模块，商城0/回收1", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer moduleType;

    @Schema(description = "配置状态，1生效/0未生效/-1回收", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("配置状态，1生效/0未生效/-1回收")
    private Integer confStatus;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}